package com.ruoyi.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.ruoyi.entity.po.TPlayerIntroduceComments;
import com.ruoyi.mapper.TPlayerIntroduceCommentsMapper;
import com.ruoyi.service.IPlayerIntroduceCommentsService;

import java.util.List;

/**
 * @author chenhainan
 * @since 2024-12-11 20:00
 */
@Service
public class PlayerIntroduceCommentsServiceImpl implements IPlayerIntroduceCommentsService {

    @Autowired
    private TPlayerIntroduceCommentsMapper tPlayerIntroduceCommentsMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tPlayerIntroduceCommentsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TPlayerIntroduceComments record) {
        return tPlayerIntroduceCommentsMapper.insert(record);
    }

    @Override
    public int insertSelective(TPlayerIntroduceComments record) {
        return tPlayerIntroduceCommentsMapper.insertSelective(record);
    }

    @Override
    public TPlayerIntroduceComments selectByPrimaryKey(Integer id) {
        return tPlayerIntroduceCommentsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TPlayerIntroduceComments record) {
        return tPlayerIntroduceCommentsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TPlayerIntroduceComments record) {
        return tPlayerIntroduceCommentsMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TPlayerIntroduceComments> selectList(TPlayerIntroduceComments tPlayerIntroduceComments) {
        return tPlayerIntroduceCommentsMapper.selectList(tPlayerIntroduceComments);
    }

}
